/*
 * @Author: 吴世扬 18368095041@163.com
 * @Date: 2024-05-15 15:49:34
 * @LastEditors: 吴世扬 18368095041@163.com
 * @LastEditTime: 2024-10-18 09:59:04
 * @FilePath: /react18-vite-admin/src/main.tsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import ReactDOM from 'react-dom/client';
import { enableMapSet } from 'immer';

import { setupI18n } from '@/plugins/index';

import App from './App';

import 'uno.css';
import '@/styles/index.scss';

const setup = () => {
    enableMapSet();
    setupI18n();
    ReactDOM.createRoot(document.getElementById('app')!).render(
        <App />
        // <React.StrictMode>
        //     <App />
        // </React.StrictMode>
    );
};
setup();
